package com.example.recipe;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends Activity {
	
	TextView hidingText;
	Button seeMore;
	
	

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		hidingText = (TextView) findViewById(R.id.TextView02);
        hidingText.setVisibility(View.GONE);
        seeMore= (Button) findViewById(R.id.button1);
        seeMore.setOnClickListener(new View.OnClickListener() {
            

        public void onClick(View v) {
            hidingText.setVisibility(View.VISIBLE);

        }
     });
	}
	

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
		
		

       

}
}



